<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <h:form>
            <h:dataTable value="#{surveyBean.surveys}" var="user">

                <h:column>
                    <f:facet name="header">Initiator</f:facet>
                        #{user.initiator}
                </h:column>
                <h:column>
                    <f:facet name="header">Semester</f:facet>
                        #{user.semester}
                </h:column>
                <h:column>
                    <f:facet name="header">Identifier</f:facet>
                        #{user.identifier}
                </h:column>
                <h:column>
                    <f:facet name="header">Results</f:facet>
                    <h:commandLink value="#{user.fileLocation}" actionListener="#{surveyBean.surveyResultFile}"></h:commandLink>
                </h:column>
                <h:column>    	
                    <f:facet name="header">Degree Program</f:facet>  
                    <h:selectOneMenu value="DegreeProgram" >
                        <f:selectItems value="#{user.degreePrograms}"/>    
                    </h:selectOneMenu>
                </h:column>
                <h:column>    	
                    <f:facet name="header">Peo Attainment Level</f:facet>  
                    <h:selectOneMenu value="PeoAttainmentLevel">
                        <f:selectItems value="#{user.peoAttainmentLevel}"/>    
                    </h:selectOneMenu>
                </h:column>

            </h:dataTable>
        </h:form>
    </h:body>
</html>

